/*
 * 单据序列号
 *
 * @Author:    :：陈玉强
* @Date:      2025-09-03 21:57:52

 * @Email:     soc
 * @Copyright  SOC （ https://1024lab.net ），Since 2012
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const serialNumberApi = {
  // 生成单号 @author 陈玉强
  generate: (generateForm) => {
    return postRequest('/support/serialNumber/generate', generateForm);
  },
  // 获取所有单号定义 @author 陈玉强
  getAll: () => {
    return getRequest('/support/serialNumber/all');
  },
  // 获取生成记录 @author 陈玉强
  queryRecord: (form) => {
    return postRequest('/support/serialNumber/queryRecord', form);
  },
};
